﻿using System;
using System.Runtime.CompilerServices;
using UnityEngine;

public static class EntityExtension
{
    public static Entity GetEntity(this Collider co)
    {
        return ((co == null) ? null : co.GetComponentInParent<Entity>());
    }
}

